package com.qingke.pojo;

import java.util.Date;

public class Blog {
	private int id;
	private Date createtime;
	private int likeammount;
	private int pageviews;
	private String content;
	private String title;
	private String description;
	private User user;
	private boolean status = true;
	
	public Blog(){}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public int getLikeammount() {
		return likeammount;
	}

	public void setLikeammount(int likeammount) {
		this.likeammount = likeammount;
	}

	public int getPageviews() {
		return pageviews;
	}

	public void setPageviews(int pageviews) {
		this.pageviews = pageviews;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public boolean isStatus() {
		return status;
	}

	public void setStatus(boolean status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "Blog [id=" + id + ", createtime=" + createtime + ", likeammount=" + likeammount + ", pageviews="
				+ pageviews + ", content=" + content + ", title=" + title + ", description=" + description + ", user="
				+ user + ", status=" + status + "]";
	}
	
	
}
